/*
 * @brief :   
 * @date :  2021-11-xx
 * @version : v1.0.0
 * @copyright(c) 2020 : OptoMedic company Co.,Ltd. All rights reserved
 * @Change Logs:   
 * @date         author         notes:  
 */
#ifndef __LED_H__
#define __LED_H__

#include "stdint.h"

enum {
    LED_TRIG_NONE = 0x00,
    LED_TRIG_DISK_ACTIVE,
    LED_TRIG_NAND_DISK,
    LED_TRIG_MTD,
    LED_TRIG_TIMER,
    LED_TRIG_HEARTBEAT,
};
typedef uint8_t led_trig_t;

int led_set_trigger(char *ledname, led_trig_t trig);

int led_set_brightness(char *ledname, int brightness);

int led_get_max_brightness(char *ledname);

#endif /* __LED_H__ */